<?php if ($this->pageCount): ?>
<div class="paginationControl">
<?php 
	if (isset($this->previous)){
  		echo '<a href="' . $this->url(array('page' => $this->previous)). '"> &lt; Previous</a> | ';
	}
	foreach ($this->pagesInRange as $page){
	   if ($page != $this->current){
	   		echo  '<a href="' . $this->url(array('page' => $page)). '">' . $page . '</a> | ';
	  }else{
	  	echo $page . ' | ';
	  }
   }
	 if (isset($this->next)){
		echo '<a href="' . $this->url(array('page' => $this->next)) . '">Next &gt;</a>';
  	 }
  ?>
</div>
<?php endif; ?>